﻿@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>首页</title>
    <link href="/Content/css/bootstrap.min.css" rel="stylesheet" />
    <link href="/Content/css/admin.min.css" rel="stylesheet" />
    <link href="/Content/css/font-awesome.min.css" rel="stylesheet" />
    @RenderSection("PostStyle", false)
</head>
<body>
    <div id="menu">
        <div class="logo">
            <img src="/Content/images/logo.png" />
        </div>
        <div class="account">
            <span> @ViewBag.CurrentUser.Value.DisplayName <a href="/logout"><i class="fa fa-sign-out"></i></a></span>
        </div>
        <nav>
            <ul class="list" id="navs">
                <li>
                    <a href="/yy-admin/index" class="item"><i class="fa fa-dashboard"></i>控制面板</a>
                </li>
                <li>
                    <a href="/yy-admin/posts" class="item"><i class="fa fa-book"></i>内容管理</a>
                </li>
                <li>
                    <a href="/yy-admin/tags" class="item"><i class="fa fa-tags"></i>标签管理</a>
                </li>
                <li>
                    <a href="/yy-admin/pages" class="item"><i class="fa fa-sticky-note"></i>单页管理</a>
                </li>
                <li>
                    <a href="/yy-admin/pics" class="item"><i class="fa fa-file-picture-o"></i>图片管理</a>
                </li>
                <li>
                    <a href="/yy-admin/change-profile" class="item"><i class="fa fa-user"></i>个人设置</a>
                </li>
            </ul>
        </nav>
    </div>
    <div id="main">
        @RenderBody()
    </div>

    <script src="/Content/js/jquery-3.2.1.min.js"></script>
    <script src="/Content/js/bootstrap.bundle.min.js"></script>
    <script src="/Content/js/yyblog.min.js"></script>
    @RenderSection("PostScripts", false)

</body>
</html>